<!--
 * @Author: chenjiao
 * @Date: 2021-06-30 17:47:15
 * @LastEditTime: 2021-08-07 14:32:55
 * @LastEditors: Please set LastEditors
 * @Description: 会员等级
 * @FilePath: \ebc-admin\src\views\member\MemberInfo\component\levelInfo.vue
-->
<template>
  <div class="levelInfo">
    <el-table
      :data="leveInfoHeader"
      border
      style="width: 95%"
      :header-cell-style="headerCellStyle">
      <template  v-for="(item ,index) in leveInfoHeader">
        <el-table-column
          :key="index"
          :prop="item.prop"
          :label="item.label"
         
          align="center"
          />
      </template>   
    </el-table>
  </div>
</template>

<script>
// 组件

// 数据
import { leveInfoHeader } from '../../config/list.config'
  export default {
    name:'levelInfo',
    data() {
      return {
        leveInfoHeader,
        params:{},
        headerCellStyle: {
        background: '#eef1f6',
        color: '#606266'
      }
        
      }
    },
    props:{
        memberId:{
          type:String,
          default:null
        }
    },  
    methods:{
    // 初始化列表请求参数
    initParams(param) {
      this.params = param
    }
    }
  }
</script>

<style lang="scss" scoped>

</style>